package com.tancire.sources.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 资源标签对象 sur_tags
 *
 * @author chenchao
 * @date 2024-08-09
 */
public class SurTags extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 标签类型  0 影视类标签  1 音频类标签 2 教程类标签
     */
    @Excel(name = "标签类型  0 影视类标签  1 音频类标签 2 教程类标签")
    private String tagType;

    /**
     * 标签名称
     */
    @Excel(name = "标签名称")
    private String tagName;

    /**
     * 标签所属 0 平台预设 1 用户自定义
     */
    @Excel(name = "标签所属 0 平台预设 1 用户自定义")
    private String tagBelong;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer tagSort;

    /**
     * 0 正常  1 删除  真删除，字段保留
     */
    private Integer delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTagType(String tagType) {
        this.tagType = tagType;
    }

    public String getTagType() {
        return tagType;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagBelong(String tagBelong) {
        this.tagBelong = tagBelong;
    }

    public String getTagBelong() {
        return tagBelong;
    }

    public void setTagSort(Integer tagSort) {
        this.tagSort = tagSort;
    }

    public Integer getTagSort() {
        return tagSort;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tagType", getTagType())
                .append("tagName", getTagName())
                .append("tagBelong", getTagBelong())
                .append("tagSort", getTagSort())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
